<html xmlns:v="urn:schemas-microsoft-com:vml" 
xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>
Intel&reg; Integrated Performance Primitives UMC-based command-line H.264 video decoder application for Windows*  
</title>
<style>
<!-- li.MsoNormal {margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman"; color:black; margin-left:0in; margin-right:0in; margin-top:0in } -->
</style>
</head>
<body text="#000000" bgcolor="#ffffff">
<center>
<h1>
<b>
<i>
Intel&reg; Integrated Performance Primitives  
<br>
<font size="6">
UMC-based command-line H.264 video decoder application for Windows*  
</font>
</i>
</b>
</h1>
</center>
<h5>
<a href="#Overview">
Overview  
</a>
<br>
<a href="#System_Requirements">
System Requirements  
</a>
<br>
<a href="#Package_Contents">
Package Contents  
</a>
<br>
<a href="#How_to_Build_Source_Code">
How to Build Source Code  
</a>
<br>
<a href="#Running_the_Software">
Running the Software  
</a>
<br>
<a href="#Known_Limitations">
Known Limitations  
</a>
<br>
&nbsp;  
</h5>
<h2>
<a name="Overview">
</a>
Overview  
</h2>
This sample illustrates how to use the Intel  
<sup>
&reg;  
</sup>
Integrated Performance Primitives (Intel  
<sup>
&reg;  
</sup>
IPP) signal processing, image processing, video coding functions and Unified Media Classes (UMC) to implement a H.264 video format console decoder. H.264 video format, covered by this sample under different Operating Systems listed in table below:  
<br>
&nbsp;  
<p>
<span lang="EN-US" style="font-size: 10.0pt; font-family: Arial">
&#8220;  
</span>
<span lang="EN-US" style="font-size: 12.0pt; font-family: Arial; color: #339933">
&#9679;  
</span>
<span lang="EN-US" style="font-size: 10.0pt; font-family: Arial">
&#8221; means that this codec has been validated in IPP 6.0  
<br>
&#8220;  
</span>
<span lang="EN-US" style="font-size: 12.0pt; font-family: Arial; color: #FF0000">
&#9679;  
</span>
<span lang="EN-US" style="font-size: 10.0pt; font-family: Arial">
&#8221; means it is not yet validated in IPP 6.0  
</span>
</p>
<table border="1" width="78%" id="table1">
<tr>
<td rowspan="2" width="22%">
<b>
UMC decoders  
</b>
</td>
<td colspan="5" align="center">
<b>
operating system  
</b>
</td>
</tr>
<tr>
<td align="center" width="10%">
<b>
IA-32 Windows*  
</b>
</td>
<td align="center" width="12%">
<b>
Itanium* Windows*  
</b>
</td>
<td align="center" width="11%">
<b>
EM64T Windows*  
</b>
</td>
<td align="center" width="15%">
<b>
Windows* CE 5.0 for X86  
</b>
</td>
</tr>
<tr>
<td width="22%">
<a href="../../codec/h264_dec/readme.htm">
H.264 video decoder  
</a>
</td>
<td align="center" width="10%">
<span lang="EN-US" style="font-size: 12.0pt; font-family: Arial; color: #339933">
&#9679;  
</span>
</td>
<td align="center" width="12%">
<span lang="EN-US" style="font-size: 12.0pt; font-family: Arial; color: #FF0000">
&#9679;  
</span>
</td>
<td align="center" width="11%">
<span lang="EN-US" style="font-size: 12.0pt; font-family: Arial; color: #339933">
&#9679;  
</span>
</td>
<td align="center" width="15%">
<span lang="EN-US" style="font-size: 12.0pt; font-family: Arial; color: #FF0000">
&#9679;  
</span>
</td>
</tr>
<tr>
<td width="22%">
<a href="../../codec/h264_spl/readme.htm">
H.264 splitter  
</a>
</td>
<td align="center" width="10%">
<span lang="EN-US" style="font-size: 12.0pt; font-family: Arial; color: #339933">
&#9679;  
</span>
</td>
<td align="center" width="12%">
<span lang="EN-US" style="font-size: 12.0pt; font-family: Arial; color: #FF0000">
&#9679;  
</span>
</td>
<td align="center" width="11%">
<span lang="EN-US" style="font-size: 12.0pt; font-family: Arial; color: #339933">
&#9679;  
</span>
</td>
<td align="center" width="15%">
<span style="font-size: 12.0pt; font-family: Arial; color: #FF0000">
&#9679;  
</span>
</td>
</tr>
</table>
<p>
Additional information on this software as well as other Intel software performance products is available at  
<a href="http://developer.intel.com/software/products/">
http://developer.intel.com/software/products/  
</a>
.  
</p>
<h2>
<a name="System_Requirements">
</a>
System Requirements  
</h2>

<b>
Hardware requirements:
</b>
<UL>
    <LI>A system based on a Intel<sup>&reg;</sup> Pentium<sup>&reg;</sup> processor,
        Intel<sup>&reg;</sup> Xeon<sup>&reg;</sup> processor, or subsequent IA-32 processor</LI>
    <LI>A system based on a Intel<sup>&reg;</sup> Xeon<sup>&reg;</sup> processor
        with Intel<sup>&reg;</sup> Extended Memory 64 Technology (Intel&reg; EM64T)</LI>
</UL>

<b>
Software requirements:
</b>
<ul>
    <li><b>Intel<sup>&reg;</sup> IPP for Windows*</b> version 6.0</li>
    <li><b>Microsoft* Windows* Vista</b>, <b>Microsoft* Windows* XP</b>, or <b>Microsoft* Windows* 2003 Server,
        Microsoft* Windows* 2008 Server</b></li>
    <li><b>Microsoft* DirectX*</b>: 9.0 SDK Update (February 2005) or SDK (December 2005)</li>
    <li><p dir="ltr"><b>Intel<sup>&reg;</sup> C++ Compiler for Windows*</b>: version 11.0, 10.1</li>

    <li>
    <b>Microsoft* Visual C++*.NET* 2008, Microsoft* Visual C++*.NET* 2005</b> or <b>Microsoft* Visual C++* .NET* 2003</b>
    <UL>
        <li>When building for a Intel<sup>&reg;</sup> Xeon<sup>&reg;</sup> processor with Intel<sup>&reg;</sup> EM64T,
            the Microsoft* EM64T Platform SDK is required</li>
    </UL>
    </li>
</ul>

<h2>
<a name="Package_Contents">
</a>
Package Contents  
</h2>
The  
<b>
Intel  
<sup>
&reg;  
</sup>
IPP UMC media player Sample for Windows*  
</b>
package contains the following:  
<font size="-1">
<br>
<br>
</font>
<table border="0" width="100%">
<tbody>
<tr>
<td valign="top" bgcolor="#cccccc">
<b>
.\ipp-samples\audio-video-codecs\application\umc_h264_dec_con  
</b>
<br>
</td>
</tr>
<tr>
<td valign="top">
<table border="0" width="100%">
<tbody>
<tr>
<td valign="top">
link_list.ini  
</td>
<td valign="top">
list of linking libs for building procedure  
</td>
</tr>
<tr>
<td valign="top">
readme.htm  
</td>
<td valign="top">
This file  
</td>
</tr>
<tr>
<td valign="top" bgcolor="#CCCCCC" colspan="2">
<b>
.\ipp-samples\audio-video-codecs\application\umc_h264_dec_con\src  
</b>
</td>
</tr>
<tr>
<td valign="top">
main.cpp  
</td>
<td valign="top">
Sample source file  
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<h2>
<a name="How_to_Build_Source_Code">
</a>
How to Build Source Code  
</h2>
<div class="Section1">
<ul type="disc" style="margin-bottom: 0in">
<li class="MsoNormal" style="color: windowtext">
<span lang="EN-US">
Set up your build environment by creating an environment variable named  
</span>
<font size="3" face="Courier New">
IPPROOT  
</font>
<span lang="EN-US">
that points to the root directory of your Intel  
<sup>
&reg;  
</sup>
IPP 6.0 installation.  
</span>
For example:  
<b>
C:\Program Files\Intel\IPP\6.0.x.xxx\ia32\  
</b>
</li>
<font size="-1">
<li class="MsoNormal">
<font size="3">
To build all samples including this one change your current folder to the root media samples folder and use batch file from the list below.  
</font>
By default batch file searches the compilers step by step according the table below (assuming that compiler should be installed in default directory).  
<font size="3">
If you wish to use Intel&reg; C/C++ compiler  
<span lang="en-us">
s or Microsoft* C/C++.NET* 2005 compiler  
</span>
set an option  
<span lang="en-us">
according table below  
</span>
for batch file.  
<br>
&nbsp;  
</font>

<table border="1" width="40%" id="table3">
<tr>
<td width="294" bgcolor="#CCCCCC">
<p align="center">
<b>
Compiler  
</b>
</td>
<td align="center" bgcolor="#CCCCCC">
<b>
Option  
</b>
</td>
</tr>

<tr>
<td width="294"> Intel&reg; C++ Compiler 11.0 for Windows* </td><td align="center"> icl110 </td>
</tr>

<tr>
<td width="294"> Intel&reg; C++ Compiler 10.1 for Windows* </td><td align="center"> icl101 </td>
</tr>

<tr>
<td width="294">
Microsoft* Visual C++*.NET* 2008  
</td>
<td align="center">
cl9  
</td>
</tr>
<tr>
<td width="294">
Microsoft* Visual C++*.NET* 2005  
</td>
<td align="center">
cl8  
</td>
</tr>
<tr>
<td width="294">
Microsoft* Visual C++*.NET* 2003  
</td>
<td align="center">
cl7  
</td>
</tr>
</table>
<p>
<font size="3">
<br>
use  
</font>
<font face="Courier New" size="3">
build32.bat [option]  
</font>
<font size="3">
for  
<u>
IA-32 based systems  
</u>
</font>
<font face="Courier" size="2">
<br>
</font>

<font size="3">
use  
</font>
<font face="Courier New" size="3">
buildem64t.bat [option]  
</font>
<font size="3">
for  
<u>
Intel&reg; Xeon  
</u>
</font>
<u>
<font face="Times New Roman">
&reg;  
</font>
</u>
<font size="3">
<u>
processors with Intel&reg; Extended Memory 64 Technology  
</u>
(Intel&reg; EM64T)  
</font>
</font><font face="Courier New" size="3">&nbsp;</font></li>
</ul>
</div>
<p class="MsoNormal" style="">
After the successful build, the executable file will be placed in media samples  
<font face="Courier New">
ipp-samples\audio-video-codecs\_bin\&lt;platform&gt;  
</font>
directory.  
</p>
<h2>
<a name="Running_the_Software">
</a>
Running the Software  
</h2>
<p>
For the case of Microsoft* Visual C++*.NET* 2005 you should set the environment required for running application first. Then you should check whether PATH environment variable contains path to the redistributable runtime dynamic libraries.  
<br>
If Microsoft* Visual C++*.NET* 2005 installed in the default directory, its a C:\Program Files\Microsoft Visual Studio 8\VC\redist\x86\Microsoft.VC80.CRT,&nbsp; C:\Program Files\Microsoft Visual Studio 8\VC\redist\x86\Microsoft.VC80.OPENMP and C:\Program Files\Microsoft Visual Studio 8\VC\redist\x86\Microsoft.VC80.MFC directories. If you environment set correctly, then all dependencies, described in umc_h264_dec_con.exe.manifest file, will be matched correctly.  
</p>
<p>
Verify that the bin directory of the Intel  
<sup>
&reg;  
</sup>
IPP 6.0 installation (for example &#8211; C:\Program Files\Intel\IPP\6.0.x.xxx\ia32\bin) is included in the PATH environment variable before executing the umc_h264_dec_con.exe  
</p>
<p>
The umc_h264_dec_con.exe require bitstream with it's path as a parameter.  
</p>
<p>
<span class="TrkFieldValue">
Usage:  
</span>
</p>
<p>
<span class="TrkFieldValue">
&nbsp;&nbsp;&nbsp; umc_h264_dec_con.exe [Options] InputFile [OutputYUVFile]  
</span>
</p>
<p>
there are also optional command line switches:  
</p>
<table border="1" width="100%" id="table2">
<tr>
<td align="center" width="290">
<b>
command line switch  
</b>
</td>
<td align="center">
<b>
description  
</b>
</td>
</tr>
<tr>
<td width="390">
<font face="Courier New">
-t&lt;num&gt;  
</font>
</td>
<td>
number of threads to limit (If num is equals 0 then decoder creates optimal number of threads based on the number of CPU on the host. Zero value used by default.)  
</td>
</tr>
<tr>
<td width="390">
<font face="Courier New">
-f&lt;num&gt;  
</font>
</td>
<td>
number of frames to limit. (Unlimited number of frames will be decoded by default.)  
</td>
</tr>
<tr>
<td width="390">
<font face="Courier New">
-f&lt;yv12, yuv420, yuv422, yuy2, rgb565, rgb24&gt;  
</font>
</td>
<td>
select output color format  
</td>
</tr>
</table>
<font size=-2>
<p>
&nbsp;  
</p>
<p>
Celeron, Dialogic, i386, i486, iCOMP, Intel, Intel logo, Intel386, Intel486, Intel740, IntelDX2, IntelDX4, IntelSX2, Intel Inside, Intel Inside logo, Intel NetBurst, Intel NetStructure, Intel Xeon, Intel XScale, Itanium, MMX, MMX logo, Pentium, Pentium II Xeon, Pentium III Xeon, and VTune are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countries.  
<br>
&nbsp;  
<br>
* Other names and brands may be claimed as the property of others.  
<br>
&nbsp;  
<br>
Copyright &copy; 2002-2008 Intel Corporation. All rights reserved.  
</p>
</body>
</html>
